from django import forms
from apps.comments.models import Comment

class PostCommentForm(forms.Form):

    parent = forms.ModelChoiceField(Comment.objects.filter(status=Comment.STATUS_PUBLISHED), required=False)
    uid = forms.IntegerField()
    message = forms.CharField(max_length=512)
